package designpattern.demo.creational.singletonpattern;

/**
 * 饿汉式
 */
public class SingleHungry {
    private static final SingleHungry s = new SingleHungry();

    private SingleHungry() {
    }

    public static SingleHungry getInstance() {
        return s;
    }


}
